package cn.dgiot.fd.dao;

import java.util.List;

import cn.dgiot.fd.model.DictionarieModel;
import org.apache.ibatis.annotations.Mapper;

/**
 * [字典]
 * 
 * @author
 *
 */
@Mapper
public interface IDictionarieDAO {
	/**
	 * [获取字典表记录]
	 * @param dictionarieModel
	 * @return
	 */
	DictionarieModel getDictionarie(DictionarieModel dictionarieModel);

	/**
	 * [根据类别获取字典表记录]
	 * @param dictionarieModel
	 * @return
	 */
	List<DictionarieModel> getDictionarieByType(DictionarieModel dictionarieModel);

	/**
	 * [添加字典表记录]
	 * @param dictionarieModel
	 * @return
	 */
	void insertDictionarie(DictionarieModel dictionarieModel);

	/**
	 * [修改字典表记录]
	 * @param dictionarieModel
	 * @return
	 */
	void updateDictionarie(DictionarieModel dictionarieModel);

}
